package com.weipai.education.model;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
@Data
@Accessors(chain = true)
public class InventoryIn {
    private Integer id;

    private Date createTime;

    private Date updateTime;

    private Integer deliverUserId;

    private String inOrderNumber;

    @NotNull(message = "产品id不能为空")
    private Integer productId;

    @NotNull(message = "产品数量不能为空")
    private Integer productNumber;

    @NotBlank(message = "采购订单号不能为空")
    private String purchaseNumber;

    private Integer receiveUserId;

    private Integer status;

    private Integer isheadset;//是否为耳机

}